package frobagroup.services.frontEnd;

import frobagroup.entities.backstage.CarouselFigure;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * Created by Tinsley on 2017/6/19.
 */
public interface CarouselFigureService {
    CarouselFigure addOrEditCarousel(MultipartFile pic, String uId, String aId, String cId, String describe)throws Exception;
    List<CarouselFigure> findCarousels(Map<String, String> params);
    boolean changeStatus(String cId, String status, String uId);
    void remove(String id, String picUrl)throws Exception;
}
